package com.yiyuan.weixin.weixinOutservice.Iml;

import com.yiyuan.weixin.Common.GlobalConstant;
import com.yiyuan.weixin.utils.HttpUtil;
import com.yiyuan.weixin.feiqi.AccessTokenService;
import com.yiyuan.weixin.weixinInservice.Iml.AbsWXAccessService;
import com.yiyuan.weixin.weixinOutservice.service.AbsWeiXinService;

/**
 * Created by admin on 2017/3/22.
 */
public class ImlAccessToken extends AbsWeiXinService {

    /*****
     * 获取
     * @return
     */
    @Override
    public String getAccessToken() {
        String str=HttpUtil.sendGet(GlobalConstant.access_tokenUrl,"utf-8");
        System.out.println(str);
        return str;
    }
}
